package com.egreen.common.pojo.DTO.user.userServiceDTO;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

@Data
public class ApplicationForAgencyDTO implements Serializable {
    //用户申请的代理类型
    @NotBlank(message = "代理类型不能为空")
    private String agencyType;

    //用户名
    @NotBlank(message = "用户名不能为空")
    private String userName;

    //邮箱
    @NotBlank(message = "用户邮箱不能为空")
    private String email;

    //手机号
    @NotBlank(message = "手机号不能为空")
    private String phone;


    //密码
    @NotBlank(message = "密码不能为空")
    private String password;


    //邀请码,可以为空
    private String invitationCode;

    //省份
    @NotBlank(message = "省份不能为空")
    private String province;

    //城市
    @NotBlank(message = "城市不能为空")
    private String city;

    //区域
    private String district;

    //社区
    private String community;

    //详细地址
    private String locationDetails;

    //验证码
    private String validCode;
}
